package com.itheima.reggie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.reggie.entity.Category;
import com.itheima.reggie.entity.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CategoryMapper extends BaseMapper<Category> {

    void addCategory(Category category);

    Integer selectCountForDish(Long categoryId);

    Integer selectCountForSetmeal(Long id);

    List<Category> getCategoryListByType(Integer type);
}
